package com.guigu;

import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;
import com.guigu.pojo.Businesses;
import com.guigu.pojo.FrontUser2;
import com.guigu.vo.BusinessesVo;
import com.guigu.vo.Pojo;
import org.apache.ibatis.annotations.Param;


public interface BusinessesService extends IService<Businesses> {
    PageInfo<Businesses> selectAll(@Param("vo") BusinessesVo vo, int pageNo, int pageSize);

    Businesses One(int id);

    //xiaosong
    //分页查询
    Pojo<FrontUser2> getPage(int pageNum, int pageSize, BusinessesVo vo);
}
